
#ifndef NODEPANEL_H
#define NODEPANEL_H

#include <BGroupBox>
#include <BButton>
#include <BLineEdit>
#include <BRealSpinBox>
#include <BComboBox>
#include <BSpinBox>
#include <BButton>
#include <BCheckBox>
#include <BNode>

using namespace BWE;

class NodePanel : public BGroupBox
{
	BOBJECT(NodePanel)
public:
	NodePanel(BWidget* parent = 0);
	~NodePanel();

protected:
	void slotAssetChanged();

	void slotVisibleCheckBoxToggled(BObject* object, const BValue& value);
	void slotOptimizedToggled(BObject* object, const BValue& value);

protected:
	virtual void styleEvent(const BEvent& event);

private:
	BNode*			_node;
	BButton*		_insertButton;
	BCheckBox*		_visibleCheckBox;
	BCheckBox*		_optimizedCheckBox;
	BRealSpinBox*	_lenXSpinBox;
	BRealSpinBox*	_lenYSpinBox;
	BRealSpinBox*	_lenZSpinBox;
};

#endif
